<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Preferences</title>
  <meta name="description" content="">
  <!-- <link href='/http://fonts.googleapis.com/css?family=Open+Sans:400,300,400italic,700' rel='stylesheet' type='text/css'> -->
  <link href="/css/font-awesome.min.css" rel="stylesheet">
  <link href="/css/bootstrap.min.css" rel="stylesheet">
  <link href="/css/templatemo-style.css" rel="stylesheet">

  <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->

</head>

<body>
  <!-- Left column -->
  <div class="templatemo-flex-row">
    <%- include('./header.ejs',{idx:'add'}) %>
    <!-- Main content -->
    <div class="templatemo-content col-1 light-gray-bg">
      <div class="templatemo-top-nav-container">
        <div class="row">
          <nav class="templatemo-top-nav col-lg-12 col-md-12">
            <ul class="text-uppercase">
              <li><a href="" class="active">Admin panel</a></li>
              <li><a href="">Dashboard</a></li>
              <li><a href="">Overview</a></li>
              <li><a href="login.html">Sign in form</a></li>
            </ul>
          </nav>
        </div>
      </div>
      <div class="templatemo-content-container">
        <div class="templatemo-content-widget white-bg">
          <h2 class="margin-bottom-10">山西传媒学院动画学院</h2>
          <p>增加学生数据</p>
          <form class="templatemo-login-form">
            <div class="row form-group">
              <div class="col-lg-12 has-success form-group">
                <label class="control-label" for="inputWithSuccess">姓名</label>
                <input type="text" class=" name form-control" id="inputWithSuccess">
              </div>
            </div>
            <div class="row form-group">
              <div class="col-lg-12 has-warning form-group">
                <label class="control-label" for="inputWithWarning">性别</label>
                <input type="text" class="sex form-control" id="inputWithWarning">
              </div>
            </div>
            <div class="row form-group">
              <div class="col-lg-12 has-warning form-group">
                <label class="control-label" for="inputWithWarning">年龄</label>
                <input type="number" class="age form-control" id="inputWithWarning">
              </div>
            </div>
            <div class="row form-group">
              <div class="col-lg-6 col-md-6 form-group">
                <label class="control-label templatemo-block">班级</label>
                <select class="bji form-control">
                  <option class="" value="-1">请选择班级</option>
                  <option value="1">1班</option>
                  <option value="2">2班</option>
                  <option value="3">3班</option>
                  <option value="4">4班</option>
                  <option value="5">5班</option>
                  <option value="6">6班</option>
                  <option value="7">7班</option>
                  <option value="8">8班</option>
                  <option value="9">9班</option>
                </select>
              </div>

            </div>
            <div class="row form-group">
              <div class="col-lg-12 has-error form-group">
                <label class="control-label" for="inputWithError">自定义专业</label>
                <input disabled type="text" class="zidy form-control" id="inputWithError">
              </div>
            </div>
            <div class="row form-group">
              <div class="col-lg-12 dio form-group">
                <div class="margin-right-15 templatemo-inline-block">
                  <input type="radio" name="radio" id="r4" value="">
                  <label for="r4" class="font-weight-400"><span></span>Bootstrap</label>
                </div>
                <div class="margin-right-15 templatemo-inline-block">
                  <input type="radio" name="radio" id="r5" value="" checked>
                  <label for="r5" class="font-weight-400"><span></span>Foundation</label>
                </div>
                <div class="margin-right-15 templatemo-inline-block">
                  <input type="radio" name="radio" id="r6" value="">
                  <label for="r6" class="font-weight-400"><span></span>Skeleton</label>
                </div>
                <div class="margin-right-15 templatemo-inline-block">
                  <input type="radio" name="radio" id="r7" value="">
                  <label for="r7" class="font-weight-400"><span></span>Bootstrap</label>
                </div>
                <div class="margin-right-15 templatemo-inline-block">
                  <input type="radio" name="radio" id="r8" value="" checked>
                  <label for="r8" class="font-weight-400"><span></span>Foundation</label>
                </div>
                <div class="margin-right-15 templatemo-inline-block">
                  <input type="radio" name="radio" id="r9" value="">
                  <label for="r9" class="font-weight-400"><span></span>Skeleton</label>
                </div>
              </div>
            </div>
            <div class="form-group text-right">
              <button type="button" class="tij templatemo-blue-button">提交</button>
              <button type="reset" class="czhi templatemo-white-button">重置</button>
            </div>
          </form>
        </div>
        <%- include('./foot.ejs') %>
      </div>
    </div>
  </div>

  <!-- JS -->
  <script type="text/javascript" src="/js/jquery-1.11.2.min.js"></script> <!-- jQuery -->
  <script type="text/javascript" src="/js/bootstrap-filestyle.min.js"></script>
  <!-- http://markusslima.github.io/bootstrap-filestyle/ -->
  <script type="text/javascript" src="/js/templatemo-script.js"></script> <!-- Templatemo Script -->
  <script type="text/javascript" src="/js/addStudent.js"></script>
</body>
<script>
  $(function () {
    // if (window.name != "noReload") {
    //   window.name = "noReload";
    //   location.reload();
    // } else {
    //   window.name = "";
    // }

    if (document.addEventListener) {
      /*event.persisted 判断浏览器是否有缓存, 有为true, 没有为false*/
      window.addEventListener('pageshow', function (event) {
        if (event.persisted || window.performance && window.performance.navigation.type == 2) {
          location.reload();
        }
      }, false);
    }
    
    new Add()
  })
</script>

</html>